package jwdt.xadmin.info.service;

import java.util.List;

import jwdt.common.bean.Tree;
import jwdt.xadmin.info.bean.TType;

import com.ezerg.db.ext.PageUtil;

public interface TypeManageService {

	public abstract PageUtil selectTypeList(PageUtil pu, int fid)
			throws Exception;

	public abstract TType selectOneType(int typeid) throws Exception;

	public abstract String saveType(int typeid, TType obj) throws Exception;

	public abstract String delType(int typeid) throws Exception;
	
	List<Tree> listTypeForTree(String jsdm)throws Exception;
	
	List<Tree> listTypeForTree()throws Exception;

	List<Tree> listAllTypeForTree()throws Exception;
	
	List<Tree> treeList(List<TType> types,List<Integer> quanxian)throws Exception;

}